import 'package:flutter/material.dart';
import 'package:flutter_sample/tab/ui/home/article/category_articles_viewmodel.dart';
import 'package:flutter_sample/ui_home.dart';
import 'package:provider/provider.dart';

void main() => runApp(ChangeNotifierProvider(create: (_) => CategoryArticlesViewModel(), child: const SampleApp()));

class SampleApp extends StatelessWidget {
  const SampleApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Sample',
      theme: ThemeData(
        primaryColor: Colors.blue,
      ),
      home: const UIHome(),
    );
  }
}
